package com.humanmonth.util.obj
{
	import flash.events.Event;
	
	import mx.containers.TitleWindow;
	import mx.events.CloseEvent;
	import mx.managers.PopUpManager;
	
	public class MyTileWindow extends TitleWindow
	{
		public function MyTileWindow()
		{
			this.showCloseButton=true;
			this.addEventListener(CloseEvent.CLOSE,removeMe);
		}
		
		/**
		 *移动本窗口 
		 */
		protected function removeMe(event:Event=null):void{
			PopUpManager.removePopUp(this);
		}

	}
}